package com.example.back.service;

import com.example.back.entity.Admin;
import com.example.back.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    private AdminMapper adminMapper;

    public Admin selectAdmin(Admin admin)
    {
        return adminMapper.selectAdmin(admin);
    }
}
